//author: create by SunJH
//时间: 2021/11/22 0022
//邮箱: 965989158@qq.com
//描述: 网络请求的配置文件

import 'package:flutter_app/utils/def_config.dart';

class HttpConfig{
  static const onLineBaseUrl='https://api-ks.qimingdaren.com';
  static const devBaseUrl='https://test-api-ks.qimingdaren.com';
  static final baseUrl = DefConfig.useOnlineOrDev == HttpType.onLine?onLineBaseUrl:devBaseUrl;
  static const kConnectTimeout=10*1000;
  static const kReceiveTimeout=10*1000;
  static const kSendTimeout=10*1000;
  static const isShowLog=DefConfig.isShowLog;

}
enum HttpType {
  onLine,
  dev,
}